import { IAppCounter } from '@ibiz/model-core';
import { AppCounter, IAppCounterProvider } from '@ibiz-template/runtime';
import { AppCounterPlugin } from './counter';

/**
 * 应用实体计数器
 * @author lxm
 * @date 2023-08-24 12:08:24
 * @export
 * @class AppCounterPluginProvider
 * @implements {IAppCounterProvider}
 */
export class AppCounterPluginProvider implements IAppCounterProvider {
  createCounter(model: IAppCounter): AppCounter {
    return new AppCounterPlugin(model);
  }
}
